Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 스케쥴러 서비스 구현 #24

Merged
merged 4 commits into from
Aug 6, 2023
Merged

feat: 스케쥴러 서비스 구현 #24

merged 4 commits into from
Aug 6, 2023

Conversation

versatile0010
Copy link
Member

⏰ SchedulerService

  • 매일 자정마다 1회 실행됨
  • DB 에 존재하는 쿠폰들 중에, 생성일로부터 6개월 이상 지났는데 STATUS 가 EXPIRED 가 아니면 EXPIRED 처리함

- 생성 날짜로부터 6개월이 지난 시점인지 check
- 매일 자정마다 1 회 실행
- DB 에 저장된CouponItem 중 만료되어야 할 쿠폰이 있으면 STATUS 를 EXPIRED 으로 변경함
@akfrdma0125
Copy link
Collaborator

코드 확인했습니다~

@akfrdma0125 akfrdma0125 merged commit 7b5fced into main Aug 6, 2023
2 checks passed
@versatile0010 versatile0010 deleted the feature/scheduler branch August 6, 2023 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants